﻿using SoldiHive.Model;
using System;
using System.Collections.Generic;

namespace SoldiHive.Core.Parsing
{
	public interface IParser
	{
		DateTime? ParseDate(string value);

		IList<DateTime> ParseDates(string result);

		OpinionAction ParseAction(string value);

		Opinion ParseOpinion(string value);

		Opinion ParseOpinion(double? rate);

		double? ParseDouble(string value);

		int? ParseInteger(string value);

		Time? ParseTime(string value);

		AnalystOpinion ParseAnalystOpinion(string value);

		IList<AnalystOpinion> ParseAnalystOpinions(string value);

		EarningsStatement ParseEarningsStatement(string value);

		IList<EarningsStatement> ParseEarningsStatements(string value);
	}
}
